package com.arong.swing.db.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class CrDoubtfulPerson implements Serializable{ 

	/**
	 * 
	 */
	private static final long serialVersionUID = -6029161654505775301L;

	private String id;

	private String hcjlId;

	private String checkeventId;

	private String sfzh;

	private Timestamp pckssj;

	private String descPerson;

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}

	public void setHcjlId(String hcjlId) {
		this.hcjlId = hcjlId;
	}
	
	public String getHcjlId() {
		return hcjlId;
	}

	public void setCheckeventId(String checkeventId) {
		this.checkeventId = checkeventId;
	}
	
	public String getCheckeventId() {
		return checkeventId;
	}

	public void setSfzh(String sfzh) {
		this.sfzh = sfzh;
	}
	
	public String getSfzh() {
		return sfzh;
	}

	public void setPckssj(Timestamp pckssj) {
		this.pckssj = pckssj;
	}
	
	public Timestamp getPckssj() {
		return pckssj;
	}

	public void setDescPerson(String descPerson) {
		this.descPerson = descPerson;
	}
	
	public String getDescPerson() {
		return descPerson;
	}

	public boolean equals(Object obj) {
		boolean equals = false;
		if (obj != null && obj instanceof CrDoubtfulPerson) {
			CrDoubtfulPerson another = (CrDoubtfulPerson) obj;
			equals = new EqualsBuilder()
					.append(id, another.getId())
					.isEquals();
		}
		return equals;
	}
	
	public int hashCode() {
		return new HashCodeBuilder(17, 37)
				.append(id)
				.toHashCode();
	}
	
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", getId())
				.toString();
	}
}